package com.qf.service;

import com.qf.pojo.UserPojo;
import com.qf.utils.ResultMsg;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    ResultMsg login(String userName, String userPass, HttpServletRequest request);

    ResultMsg updateUserPass(String oldPass, String newPass, HttpServletRequest request);

    ResultMsg queryOneUser(Integer userId);

    ResultMsg updateUser(UserPojo userPojo);

    ResultMsg logout(HttpServletRequest request);

    ResultMsg findAllDoctor();
}
